﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="aboutTitle" ContentPlaceHolderID="TitleContent" runat="server">
    About this application
</asp:Content>

<asp:Content ID="aboutContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>About</h2>
    <p>This section is all the help you need to work with this application. If you feel I have missed something, please feel free to drop me a note.</p>
    
    <h3>Pre-requisites</h3>
    <p>Please ensure that you have the following before start off with this application:</p>
    <ul>
        <li>Microsoft .NET Framework 2.0 (or higher)</li>
        <li>SQL Server 2005 Express (or higher)</li>
        <li>Visual Web Developer Express 2005 (or higher)</li>
        <li>Recommended: <a href="http://www.microsoft.com/web/downloads/platform.aspx" title="Everything you need in one neat bundle" target="_blank">Visual Studio Platform Installer</a></li>
        <li><a href="http://www.asp.net/mvc/" target="_blank">ASP.Net MVC</a></li>
    </ul>
    <p>Assuming you have been successful in getting this setup done, let us get to some great online resources to get you started understanding some concepts behind this application:</p>
    <ul>
        <li><a href="http://aspnet.4guysfromrolla.com/articles/120705-1.aspx" target="_blank" title="A great series by Scott Mitchell to get started on ASP.Net membership concepts">ASP.Net Memberships, roles &amp; profiles</a></li>
        <li><a href="http://www.asp.net/mvc/" target="_blank" title="Check out the official site">ASP.Net MVC</a></li>
        <li><a href="http://jquery.com/" target="_blank" title="Check out the official site">jQuery</a></li>
       <li><a href="http://weblogs.asp.net/scottgu/archive/2009/03/10/free-asp-net-mvc-ebook-tutorial.aspx" target="_blank">NerdDinner Tutorial</a></li>
    </ul>
    
    <h3>Using this application</h3>
    
    <p>Run the Web Application Tool (WAT) from your IDE (go to: Project &gt;&gt; ASP.Net Configuration) &amp; configure 1 role &amp 1 user in the site as:</p>
    <ul>
        <li><b>Role:</b> create a single role called "admin". This role will have full admin access to the site. All rights to this role are explained in the table below.</li>
        <li><b>User:</b> create a single user &amp; assign to the Admin role you just created.</li>
    </ul>
    <p>Exit WAT &amp; run this application to manage the creation of users, their roles &amp; other details as explained below:</p>
    <table>
        <thead>
            <tr>
                <th>Role</th>
                <th>Actions</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>admin</td>
                <td>
                    <ul>
                        <li>See a list of all users using the application</li>
                        <li>Update the roles of each user</li>
                        <li>Unlock users accounts which have been locked</li>
                        <li>Delete a user account</li>
                        <li>Update the details for admin account</li>
                    </ul>
                </td>
            </tr>
            <tr>
                <td>Anonymous user</td>
                <td>
                    <ul>
                        <li>Can log on using the "Log on" link at the right top of the application UI</li>
                        <li>Will be re-directed to the login page when he clicks on the "Admin" link on the top menu without doing any login</li>
                    <li>Can log on via the login screen</li>
                    <li>Can register for a new account if the username does not already exist in the database</li>
                    </ul>
                </td>
            </tr>
            <tr>
                <td>logged in user</td>
                <td>
                    <ul>
                        <li>Update details of the user account</li>
                    </ul>
                </td>
            </tr>
        </tbody>
    </table>
    <h3>Note</h3>
    <p>In this sample, I am using the <a href="http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=404" title="Read a complete article on this stuff">SampleAccessProvider</a> to connect to a MS Access database. But, you could just change the connection &amp; the providers to point to SQL Server &amp; everything should work exactly the same.</p>
    <p>Why MS Access? - well, why not?</p>
</asp:Content>
